package com.example.mapper.commodity;

import com.example.pojo.stock.Product_import;
import com.example.pojo.stock.Product_online;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * com.example.mapper.commodity
 *
 * @author foam
 * create 2020-12-19
 **/
@Repository
@Mapper
public interface OnlineMapper {

    //显示所有上架信息
    List<Product_online> queryAll();

    //根据上架日期编号查询
    Product_online queryByDate(String date);

    //插入上架信息
    int insertOnline(Product_online product_online);

}
